package com.fadadianqi.logistics.customer.model;

import com.fadadianqi.commons.BaseObject;

import java.util.Date;

public class MsgJob extends BaseObject {

    /**
     *
     */
    private static final long serialVersionUID = 1213392534728142412L;

    public static final int STATUS_ALREADY = 0; // 准备发送
    public static final int STATUS_SENDING = 1; // 发送中...
    public static final int STATUS_PAUSE = 2; // 暂停发送
    public static final int STATUS_CANCEL = 3; // 强制结束
    public static final int STATUS_OK = 4; // 发送完成

    private String name; // 发送任务名/描述
    private int total = 0; // 发送总数
    private int succeed = 0; // 发送成功
    private int failed = 0; // 发送失败
    private Date addTime;
    private Date endTime; // 任务结束日期 超过次日期的短信将不再尝试发送
    private String content;
    private int status;

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSucceed() {
        return succeed;
    }

    public void setSucceed(int succeed) {
        this.succeed = succeed;
    }

    public int getFailed() {
        return failed;
    }

    public void setFailed(int failed) {
        this.failed = failed;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
